#include <stdlib.h>
#include "ListIter.h"

ListIter* list_iter_new(List* list)
{
  return list;
}

void list_iter_free(ListIter* iter)
{
}

ListIter* list_iter_prev(ListIter* iter)
{
  return iter->prev;
}

ListIter* list_iter_next(ListIter* iter)
{
  return iter->next;
}

void* list_iter_get_data(ListIter* iter)
{
  return iter->data;
}
